namespace Validation {
  export interface StringValidator {
    isAcceptale(s: string): boolean
  }
  export namespace Polygons {
    export class Triangle {}
    export class Square {}
  }
}

import polygons = Validation.Polygons
let sq = new polygons.Square()